package com.landinfo.service;

import com.landinfo.service.dto.PatrolRecordDTO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * Service Interface for managing PatrolRecord.
 */
public interface PatrolRecordService {

    /**
     * Save a patrolRecord.
     *
     * @param patrolRecordDTO the entity to save
     * @return the persisted entity
     */
    PatrolRecordDTO save(PatrolRecordDTO patrolRecordDTO);

    /**
     *  Get all the patrolRecords.
     *
     *  @param pageable the pagination information
     *  @return the list of entities
     */
    Page<PatrolRecordDTO> findAll(Pageable pageable);

    /**
     *  Get the "id" patrolRecord.
     *
     *  @param id the id of the entity
     *  @return the entity
     */
    PatrolRecordDTO findOne(Long id);

    /**
     *  Delete the "id" patrolRecord.
     *
     *  @param id the id of the entity
     */
    void delete(Long id);
}
